<?php
namespace app\common\model;

class Admin extends BaseModel{

    public function getNormalAdminsByStatus($status)
    {
        $data=[
          'status'=>$status
        ];

        return $this->where($data)->field('id,username,realname,mobile,email,last_login_time,is_super,status')->paginate();
    }
}